from django.conf.urls.defaults import *
from t6.view import hello, current_datetime, hours_ahead
from t6.books.views import search_form,search,contact,auth_list,auth_add

urlpatterns = patterns('',
    (r'^hello/$', hello),
    (r'^time/$', current_datetime),
    (r'^another-time-page/$', current_datetime),
    (r'^time/plus/(\d{1,2})/$', hours_ahead),
    (r'^search_form/$', search_form),
    (r'^search/$', search),
    (r'^contact/$', contact),
    (r'^authorlist/',auth_list),
    (r'^$',auth_list),
    (r'^authoradd/',auth_add),
    
    (r'^admin/', include('django.contrib.admin.urls')),
)
